const state = {};

const mutations = {
    SET_DICTS(state, data) {
        Object.assign(state, data)
    }
};

const getters = {
    getDict(state, value) {
        return state.dict[value] || []
    }
}

export default {
    namespaced: true,
    state,
    getters,
    mutations
};

